package designpattern.chainresponsibility.order;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 刘牌
 * @Date: 2021/12/18/23:09
 * @Description:
 */
public class MemberHandler extends OrderHandler{

    @Override
    public void hand(Order order) {
        if (order.getMemberId() != null){
            System.out.println("进行会员折扣操作");
        }
    }
}
